<script setup lang="ts">
  import MyWorker from '../worker/index?worker';
  const myWorker = new MyWorker();
  // myWorker.postMessage('Hello from the worker!');

  myWorker.onmessage = (event) => {
    alert(event.data);
  }
</script>
<template>
  <div class="about">
    <h1>This is an about page</h1>
  </div>
</template>

<style>
@media (min-width: 1024px) {
  .about {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
}
</style>
